#pragma once

#include <QIODevice>
#include <QSettings>

bool readJsonFile(QIODevice &device, QSettings::SettingsMap &map);

bool writeJsonFile(QIODevice &device, const QSettings::SettingsMap &map);

//QSettings* GetJsonSettings();

QString GetConfigPath();

void InitSettings();